package cn.dkk.behavior_design.observer;

/**
 * @author dkk
 * @date 2022/7/26
 * @desc 主题接口
 */
public interface Subject {

    void attach(Observer observer);

    void detach(Observer observer);

    void notify(String mes);

}
